Soru & Cevap

java.lang.NoClassDefFoundError: com.google.maps...

25.11.2014 - 12:38

Google Maps Android API Utility ile marker cluster kullanmak istiyorum. haftalardır uğraşmama rağmen çözemedim. ne yerli ne yabancı kaynaklarda bi çözüm bulamadım. Setup guide de anlatılanları harfiyen yaptım olmadı. logcat de yazanlar şöyle:

 

[code]11-25 12:27:11.675: E/dalvikvm(8667): Could not find class 'com.google.maps.android.clustering.ClusterManager', referenced from method com.aek.tellal.MainActivity.onCreate
11-25 12:27:11.675: W/dalvikvm(8667): VFY: unable to resolve new-instance 4552 (Lcom/google/maps/android/clustering/ClusterManager;) in Lcom/aek/tellal/MainActivity;
11-25 12:27:11.675: D/dalvikvm(8667): VFY: replacing opcode 0x22 at 0x0063
11-25 12:27:11.675: D/dalvikvm(8667): DexOpt: unable to opt direct call 0x7c8e at 0x67 in Lcom/aek/tellal/MainActivity;.onCreate
11-25 12:27:11.725: I/u(8667): Making Creator dynamically
11-25 12:27:11.775: I/Google Maps Android API(8667): Google Play services client version: 6171000
11-25 12:27:11.785: I/Google Maps Android API(8667): Google Play services package version: 6188036
11-25 12:27:11.875: D/dalvikvm(8667): GC_FOR_ALLOC freed 220K, 3% free 9342K/9596K, paused 17ms, total 17ms
11-25 12:27:11.995: D/dalvikvm(8667): GC_FOR_ALLOC freed 160K, 2% free 9692K/9888K, paused 15ms, total 15ms
11-25 12:27:12.085: D/dalvikvm(8667): GC_FOR_ALLOC freed 151K, 2% free 10045K/10240K, paused 15ms, total 15ms
11-25 12:27:12.165: D/dalvikvm(8667): GC_FOR_ALLOC freed 196K, 3% free 10343K/10592K, paused 17ms, total 17ms
11-25 12:27:12.196: D/dalvikvm(8667): GC_FOR_ALLOC freed 222K, 4% free 10471K/10816K, paused 17ms, total 17ms
11-25 12:27:12.196: I/dalvikvm-heap(8667): Grow heap (frag case) to 10.504MB for 260112-byte allocation
11-25 12:27:12.216: D/dalvikvm(8667): GC_FOR_ALLOC freed 126K, 5% free 10599K/11072K, paused 20ms, total 20ms
11-25 12:27:12.246: D/dalvikvm(8667): GC_FOR_ALLOC freed 311K, 5% free 10586K/11136K, paused 18ms, total 19ms
11-25 12:27:12.266: D/dalvikvm(8667): GC_FOR_ALLOC freed 62K, 5% free 10650K/11136K, paused 18ms, total 18ms
11-25 12:27:12.286: D/dalvikvm(8667): GC_FOR_ALLOC freed 126K, 4% free 10778K/11136K, paused 16ms, total 16ms
11-25 12:27:12.306: D/dalvikvm(8667): GC_FOR_ALLOC freed 307K, 5% free 10764K/11316K, paused 18ms, total 18ms
11-25 12:27:12.326: D/dalvikvm(8667): GC_FOR_ALLOC freed 62K, 5% free 10828K/11316K, paused 17ms, total 17ms
11-25 12:27:12.326: I/dalvikvm-heap(8667): Grow heap (frag case) to 10.853MB for 260112-byte allocation
11-25 12:27:12.346: D/dalvikvm(8667): GC_FOR_ALLOC freed 126K, 6% free 10956K/11572K, paused 20ms, total 20ms
11-25 12:27:12.496: D/dalvikvm(8667): GC_FOR_ALLOC freed 393K, 4% free 11202K/11628K, paused 30ms, total 30ms
11-25 12:27:12.666: D/dalvikvm(8667): GC_FOR_ALLOC freed 214K, 3% free 11709K/11956K, paused 21ms, total 21ms
11-25 12:27:12.816: D/dalvikvm(8667): GC_FOR_ALLOC freed 654K, 6% free 11939K/12632K, paused 23ms, total 23ms
11-25 12:27:13.016: D/dalvikvm(8667): GC_FOR_ALLOC freed 311K, 3% free 12595K/12940K, paused 26ms, total 26ms
11-25 12:27:13.066: D/REQUEST(8667): Using server: https://clients4.google.com/glm/mmap/api
11-25 12:27:13.177: D/REQUEST(8667): Add Data Request: 75
11-25 12:27:13.297: D/REQUEST(8667): Add Data Request: 75
11-25 12:27:13.477: W/ActivityThread(8667): ClassLoader.loadClass: The class loader returned by Thread.getContextClassLoader() may fail for processes that host multiple applications. You should explicitly specify a context class loader. For example: Thread.setContextClassLoader(getClass().getClassLoader());
11-25 12:27:13.577: D/REQUEST(8667): Connection opened to:https://clients4.google.com/glm/mmap/api
11-25 12:27:13.577: D/REQUEST(8667): Open Connection
11-25 12:27:13.627: D/dalvikvm(8667): GC_FOR_ALLOC freed 1097K, 9% free 12672K/13812K, paused 41ms, total 41ms
11-25 12:27:13.647: D/USER_EVENTS(8667): Event: type=78, status: MD, data: T
11-25 12:27:13.747: D/USER_EVENTS(8667): Event: type=113, status: mc, data: 
11-25 12:27:14.378: D/REQUEST(8667): Add Data Request: 147
11-25 12:27:14.418: D/dalvikvm(8667): GC_FOR_ALLOC freed 523K, 6% free 13062K/13812K, paused 33ms, total 33ms
11-25 12:27:14.438: D/AndroidRuntime(8667): Shutting down VM
11-25 12:27:14.438: W/dalvikvm(8667): threadid=1: thread exiting with uncaught exception (group=0x4159bba8)
11-25 12:27:14.438: E/AndroidRuntime(8667): FATAL EXCEPTION: main
11-25 12:27:14.438: E/AndroidRuntime(8667): Process: com.aek.tellal, PID: 8667
11-25 12:27:14.438: E/AndroidRuntime(8667): java.lang.NoClassDefFoundError: com.google.maps.android.clustering.ClusterManager
11-25 12:27:14.438: E/AndroidRuntime(8667):     at com.aek.tellal.MainActivity.onCreate(MainActivity.java:75)
11-25 12:27:14.438: E/AndroidRuntime(8667):     at android.app.Activity.performCreate(Activity.java:5231)
11-25 12:27:14.438: E/AndroidRuntime(8667):     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
11-25 12:27:14.438: E/AndroidRuntime(8667):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2148)
11-25 12:27:14.438: E/AndroidRuntime(8667):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233)
11-25 12:27:14.438: E/AndroidRuntime(8667):     at android.app.ActivityThread.access$800(ActivityThread.java:135)
11-25 12:27:14.438: E/AndroidRuntime(8667):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
11-25 12:27:14.438: E/AndroidRuntime(8667):     at android.os.Handler.dispatchMessage(Handler.java:102)
11-25 12:27:14.438: E/AndroidRuntime(8667):     at android.os.Looper.loop(Looper.java:136)
11-25 12:27:14.438: E/AndroidRuntime(8667):     at android.app.ActivityThread.main(ActivityThread.java:5001)
11-25 12:27:14.438: E/AndroidRuntime(8667):     at java.lang.reflect.Method.invokeNative(Native Method)
11-25 12:27:14.438: E/AndroidRuntime(8667):     at java.lang.reflect.Method.invoke(Method.java:515)
11-25 12:27:14.438: E/AndroidRuntime(8667):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
11-25 12:27:14.438: E/AndroidRuntime(8667):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
11-25 12:27:14.438: E/AndroidRuntime(8667):     at dalvik.system.NativeStart.main(Native Method)
11-25 12:27:14.808: D/REQUEST(8667): Processing DataRequest: com.google.maps.api.android.lib6.b.d@420a93c0
11-25 12:27:14.828: D/REQUEST(8667): Processing DataRequest: com.google.maps.api.android.lib6.gmm6.d.h@421ef808
11-25 12:27:14.828: D/REQUEST(8667): Processing DataRequest: com.google.maps.api.android.lib6.gmm6.n.o@420ab318
11-25 12:27:14.828: D/REQUEST(8667): DRD(0): 62|75|75, 1s, <1kb
11-25 12:27:14.828: D/REQUEST(8667): Close
11-25 12:27:14.828: D/USER_EVENTS(8667): Event: type=22, status: fb, data: 1328
11-25 12:27:14.828: D/REQUEST(8667): Connection opened to:https://clients4.google.com/glm/mmap/api
11-25 12:27:14.828: D/REQUEST(8667): Open Connection
11-25 12:27:14.838: D/USER_EVENTS(8667): Event: type=22, status: lb, data: 1351
11-25 12:27:14.838: D/USER_EVENTS(8667): Event: type=22, status: flbs, data: fb=1328|lb=1351|s=61
11-25 12:27:15.129: D/REQUEST(8667): Processing DataRequest: com.google.maps.api.android.lib6.b.d@420be0a8
11-25 12:27:15.129: D/REQUEST(8667): Processing DataRequest: com.google.maps.api.android.lib6.c.au@42307ac8
11-25 12:27:15.129: D/REQUEST(8667): DRD(1): 62|147, <1s, <1kb
11-25 12:27:15.129: D/REQUEST(8667): Close
11-25 12:27:15.129: D/USER_EVENTS(8667): Event: type=22, status: fb, data: 285
11-25 12:27:15.139: D/USER_EVENTS(8667): Event: type=22, status: lb, data: 299
11-25 12:27:15.149: D/USER_EVENTS(8667): Event: type=22, status: flbs, data: fb=285|lb=299|s=16

[/code]

6 Görüntülenme

0 Cevap

Sitedeki sorulara cevap verebilmek için giriş yapın ya da üye olun.